<div class="inside">
    <div class="footer-widget">
        <div class="one-third" style="width:31.33%">
            <h2>KẾT NỐI</h2>
            <p>
                Yahoo :<a href="ymsgr:sendIM?toyz.online" style="color: #FFFFFF;font-size: 15px;"> toyz.online</a>
            </p>
            <p>
                Skype :<a style="color: #FFFFFF;font-size: 15px;"href="Skype:anhtu.88?chat"> anhtu.88 </a>
            </p>
            <p>
                Facebook :<a style="color: #FFFFFF;font-size: 15px;" href="https://www.facebook.com/toyzvn" title="toyzvn" target="_blank"> https://www.facebook.com/toyzvn</a>
            </p>
            <ul class="footer-socials">
                <li class="facebook"><a target="_blank" title="Facebook" href="https://www.facebook.com/toyzvn"></a></li>
                <li class="yt"><a target="_blank" title="YangTV" href=""></a></li>
                <li class="google"><a title="Google+" href="#"></a></li>
                <li class="yahoo"><a title="Yahoo" href="#"></a></li>
                <span class="clear"></span>
            </ul>
        </div>
        <div class="one-third" style="width:31.33%">
            <h2>MÁY BAY ĐIỀU KHIỂN</h2>
            <p><img width="65" height="50" class="alignleft" alt="" title="" src="/application/themes/toyz/images/logo2.png" /></p>
            <p></p>
            <p>Liên hệ đặt hàng, mua hàng</p>
            <p>Hotline 1 : 0986051888</p>
            <p style="margin-left: 80px;">Hotline 2 : 0963998351</p>
        </div>
        <div class="one-third last" style="width:31.33%">
            <h2>PHỤ KIỆN SMARTPHONES/TABLETS</h2>
            <p><img style="padding-top: 15px;" width="65" class="alignleft" alt="" title="" src="/application/themes/toyz/images/pkmh.png" /></p>
            <p>Liên hệ đặt hàng, mua hàng, mua sỉ</p>
            <p>Hotline 1 : 0904211091</p>
            <p style="margin-left: 80px;">Hotline 2 : 0986051888</p>
            <p>Đ/c xem hàng : 35 Mai Động - Hoàng Mai - Hà Nội</p>
        </div>
        <span class="clear"></span>
    </div>

    <div class="footer-bottom">
        <span class="copyright">@ Home.</span>
        <div id="footer_menu">
            <ul>
                <li><a href="/" title="Trang chủ">Trang chủ</a></li>
                <li><a href="/may-bay-dieu-khien" title="Máy bay điều khiển">Máy bay điều khiển</a></li>
                <li><a href="/phu-kien-smartphones-tablets" title="Phụ kiện Smartphone/Tablets">Phụ kiện Smartphone/Tablets</a></li>
                <li><a href="/tin-tuc" title="tin tức">Tin tức</a></li>
                <li><a href="/huong-dan-dat-hang" title="đặt hàng sản phẩm">Hướng dẫn đặt hàng</a></li>
            </ul>
        </div>
    </div>
</div>
<div style="position: fixed;top: 390px;height: auto;display: block; right: 0; vertical-align: top;z-index: 10000;">
    <div style="height: 140px;width: 140px;padding: 5px 0px 5px 5px;background: #930909;border-radius: 5px 0 0 5px;">
        <div style="height: 140px;width: 140px; background: #FFF;">
            <h3 style="text-align: center;padding-top: 5px;">Giỏ hàng</h3>

            <div id="cartViewHP" style="padding: 0 10px;">
                <?php if(!$this->cart->contents()) {?>
                    <p style="margin: 5px 0">Bạn có 0 sản phẩm trong giỏ hàng</p>
                    <p style="margin: 5px 0">Tổng tiền: 0 VND</p>
                <?php } else { ?>
                    <?php
                    $tmp = $this->cart->contents();
                    $qty = count($tmp);
                    $total =0;
                    foreach($tmp as $k=>$v) {
                        $total = $total + $v['price']*$v['qty'];
                    }
                    ?>
                    <p style="margin: 5px 0">Bạn có <?php echo $qty; ?> sản phẩm trong giỏ hàng</p>
                    <p style="margin: 5px 0">Tổng tiền: <?php echo number_format($total);?> VND</p>
                    <p style="margin: 5px 0"><a href="/cart">Xem giỏ hàng</a></p>
                <?php } ?>
            </div>

        </div>
    </div>
</div>
<style type='text/css'>
    #bttop{border:1px solid #4adcff;background:#24bde2;text-align:center;padding:5px;position:fixed;bottom:35px;right:10px;cursor:pointer;display:none;color:#fff;font-size:11px;font-weight:900;}
    #bttop:hover{border:1px solid #ffa789;background:#ff6734;}
</style>
<div id='bttop'>BACK TO TOP</div>
<script type='text/javascript'>
    $(function(){
        $(window).scroll(function(){
            if($(this).scrollTop() > 200){
                $('#bttop').fadeIn();
            }else{
                $('#bttop').fadeOut();
            }
        });
        $('#bttop').click(function(){
            $('body,html').animate({scrollTop:0},800);
        });
    });
</script>